<?
$f = get_defined_functions();
$values = $f['internal'];
$options = array();
foreach ($values as $k=>$v){
    if(mb_strpos($v,'mysql_')===false) continue;
    $options[] = $v;
}

$form = new jQuickForm('dualselect');
$form->addDataSource(new HTML_QuickForm2_DataSource_Array(array(
    'func' => array(4, 148, 180, 368, 706, 736, 716)
)));

$fs = $form->addElement('fieldset')
    ->setLabel('A custom "dualselect" element using a renderer plugin for output');

$ds = $fs->addElement(
    'dualselect', 'func',
    array('size' => 10, 'style' => 'width: 225px;'),
    array(
        'options'    => $options,
        'keepSorted' => true,
        'from_to'    => array('content' => ' >> ', 'attributes' => array('style' => 'font-size: 90%')),
        'to_from'    => array('content' => ' << ', 'attributes' => array('style' => 'font-size: 90%')),
    )
)->setLabel('Какие функции для работы с MySQL вы знаете?')->setComment('Можно перемещать пункты двойным кликом');

$fs->addElement('submit', 'testSubmit', array('value' => 'Submit form'));
?>